import type { SearchType } from '../page/finance/contract.tsx'
import { post } from '../utils/http/request.ts'
import type { QueryType } from '../page/finance/bill.tsx'

export const getContractList = (data: SearchType) => {
  return post(`/contractList`, data)
}

export function getBillList(data: QueryType) {
  return post('/billList', data)
}
